package net.dgg.dggcloud.service.jrcrm.entity.orf;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName:   PaymentAuditorRecord
 * @Description: 财务审核表
 * @author：郭伟
 * @date： 2017/11/6
 */

@Entity
@Table(name = "orf_payment_auditor_record")
public class PaymentAuditorRecord extends BaseEntity {

    /**
     * 类型  1 核款 ，2 退款，3 费用申请
     */
    @Column(name="type")
    private Integer type;


    /**
     * 审核人
     */
    @Column(name="audit_user_id")
    private Long auditUserId;

    /**
     * 审核时间
     */
    @Column(name="audit_time")
    private Date auditTime;


    /**
     *  节点
     */
    @Column(name="node_name")
    private String nodeName;

    /**
     * 状态 1 通过 2 驳回
     */
    @Column(name="status")
    private Integer status;

    /**
     * 内容
     */
    @Column(name="content")
    private String content;

    /**
     * 财务ID
     */
    @Column(name="payment_id")
    private Long paymentId;



    public Long getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(Long auditUserId) {
        this.auditUserId = auditUserId;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Long paymentId) {
        this.paymentId = paymentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
